#ifndef THREAD_H
#define THREAD_H

#include <QWidget>
#include <QTimer>
#include "mythread.h"

namespace Ui {
class Thread;
}

class Thread : public QWidget
{
	Q_OBJECT

public:
	explicit Thread(QWidget *parent = nullptr);
	~Thread();

private slots:
	void on_pushButton_clicked();

private:
	Ui::Thread *ui;

	QTimer * timer;
	MyThread * thread;
};

#endif // THREAD_H
